package edu.wust;
import java.math.BigInteger;

public class No1exam6 {


    public static void main(String[] args){
        int n = 100;
        BigInteger data1 = new BigInteger("1"), data2 = new BigInteger("1");
        for (int i = 2; i <= n; ++i) {
            data1 = data1.add(BigInteger.valueOf(i * i));
            data2 = data2.add(BigInteger.valueOf(i));
        }
        data2 = data2.multiply(data2);
        System.out.println(data2.subtract(data1));

    }
}
